import Vue from "vue"
import Vuex from "vuex"
Vue.use(Vuex)

const store = new Vuex.Store({
    state:{
        title1:"",
        title2:""
    },
    mutations:{
        changeTitle(state,obj){
            state.title1 = obj.t1,
            state.title2 = obj.t2
        }
    }
})

export default store